package com.hinnotek.amoeba.adapters.old

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.hinnotek.amoeba.bean.old.PBListBean
import com.hinnotek.amoeba.R

class PayBackListAdapter :
    BaseQuickAdapter<PBListBean, BaseViewHolder>(R.layout.item_pay_back) {
    override fun convert(holder: BaseViewHolder, item: PBListBean) {
        holder.setText(R.id.tv_pay_title, item.contractTypeName)
        holder.setText(R.id.tv_pay_no, item.contractNo)
        holder.setText(R.id.tv_pay_unit, item.signUnit)
        holder.setText(R.id.tv_contract_price, item.signMoney)
        holder.setText(R.id.tv_pb_total, item.backMoney)
    }
}